<template>
  <div>
    <template v-for="(item, index) in questions">
          <el-form-item prop="resource_0" :key="item.id" v-if="index === 0">
            <h3>{{item.content}}</h3>
            <el-radio-group v-model="ruleForm.resource_0">
              <el-radio label="A">A.{{item.A}}</el-radio>
              <el-radio label="B">B.{{item.B}}</el-radio>
              <el-radio label="C">C.{{item.C}}</el-radio>
              <el-radio label="D">D.{{item.D}}</el-radio>
            </el-radio-group>
            <div v-show="showDesc">
              <p>答案：{{item.correct}}</p>
              <p>解析：{{item.describe}}</p>
            </div>
          </el-form-item>
          <el-form-item prop="resource_1" :key="item.id" v-if="index === 1">
            <h3>{{item.content}}</h3>
            <el-radio-group v-model="ruleForm.resource_1">
              <el-radio label="A">A.{{item.A}}</el-radio>
              <el-radio label="B">B.{{item.B}}</el-radio>
              <el-radio label="C">C.{{item.C}}</el-radio>
              <el-radio label="D">D.{{item.D}}</el-radio>
            </el-radio-group>
            <div v-show="showDesc">
              <p>答案：{{item.correct}}</p>
              <p>解析：{{item.describe}}</p>
            </div>
          </el-form-item>
          <el-form-item prop="resourc_2" :key="item.id" v-if="index === 2">
            <h3>{{item.content}}</h3>
            <el-radio-group v-model="ruleForm.resourc_2">
              <el-radio label="A">A.{{item.A}}</el-radio>
              <el-radio label="B">B.{{item.B}}</el-radio>
              <el-radio label="C">C.{{item.C}}</el-radio>
              <el-radio label="D">D.{{item.D}}</el-radio>
            </el-radio-group>
            <div v-show="showDesc">
              <p>答案：{{item.correct}}</p>
              <p>解析：{{item.describe}}</p>
            </div>
          </el-form-item>
          <el-form-item prop="resource_3" :key="item.id" v-if="index === 3">
            <h3>{{item.content}}</h3>
            <el-radio-group v-model="ruleForm.resource_3">
              <el-radio label="A">A.{{item.A}}</el-radio>
              <el-radio label="B">B.{{item.B}}</el-radio>
              <el-radio label="C">C.{{item.C}}</el-radio>
              <el-radio label="D">D.{{item.D}}</el-radio>
            </el-radio-group>
            <div v-show="showDesc">
              <p>答案：{{item.correct}}</p>
              <p>解析：{{item.describe}}</p>
            </div>
          </el-form-item>
          <el-form-item prop="resource_4" :key="item.id" v-if="index === 4">
            <h3>{{item.content}}</h3>
            <el-radio-group v-model="ruleForm.resource_4">
              <el-radio label="A">A.{{item.A}}</el-radio>
              <el-radio label="B">B.{{item.B}}</el-radio>
              <el-radio label="C">C.{{item.C}}</el-radio>
              <el-radio label="D">D.{{item.D}}</el-radio>
            </el-radio-group>
            <div v-show="showDesc">
              <p>答案：{{item.correct}}</p>
              <p>解析：{{item.describe}}</p>
            </div>
          </el-form-item>
          <el-form-item prop="resource_5" :key="item.id" v-if="index === 5">
            <h3>{{item.content}}</h3>
            <el-radio-group v-model="ruleForm.resource_5">
              <el-radio label="A">A.{{item.A}}</el-radio>
              <el-radio label="B">B.{{item.B}}</el-radio>
              <el-radio label="C">C.{{item.C}}</el-radio>
              <el-radio label="D">D.{{item.D}}</el-radio>
            </el-radio-group>
            <div v-show="showDesc">
              <p>答案：{{item.correct}}</p>
              <p>解析：{{item.describe}}</p>
            </div>
          </el-form-item>
          <el-form-item prop="resource_6" :key="item.id" v-if="index === 6">
            <h3>{{item.content}}</h3>
            <el-radio-group v-model="ruleForm.resource_6">
              <el-radio label="A">A.{{item.A}}</el-radio>
              <el-radio label="B">B.{{item.B}}</el-radio>
              <el-radio label="C">C.{{item.C}}</el-radio>
              <el-radio label="D">D.{{item.D}}</el-radio>
            </el-radio-group>
            <div v-show="showDesc">
              <p>答案：{{item.correct}}</p>
              <p>解析：{{item.describe}}</p>
            </div>
          </el-form-item>
          <el-form-item prop="resource_7" :key="item.id" v-if="index === 7">
            <h3>{{item.content}}</h3>
            <el-radio-group v-model="ruleForm.resource_7">
              <el-radio label="A">A.{{item.A}}</el-radio>
              <el-radio label="B">B.{{item.B}}</el-radio>
              <el-radio label="C">C.{{item.C}}</el-radio>
              <el-radio label="D">D.{{item.D}}</el-radio>
            </el-radio-group>
            <div v-show="showDesc">
              <p>答案：{{item.correct}}</p>
              <p>解析：{{item.describe}}</p>
            </div>
          </el-form-item>
          <el-form-item prop="resource_8" :key="item.id" v-if="index === 8">
            <h3>{{item.content}}</h3>
            <el-radio-group v-model="ruleForm.resource_8">
              <el-radio label="A">A.{{item.A}}</el-radio>
              <el-radio label="B">B.{{item.B}}</el-radio>
              <el-radio label="C">C.{{item.C}}</el-radio>
              <el-radio label="D">D.{{item.D}}</el-radio>
            </el-radio-group>
            <div v-show="showDesc">
              <p>答案：{{item.correct}}</p>
              <p>解析：{{item.describe}}</p>
            </div>
          </el-form-item>
          <el-form-item prop="resource_9" :key="item.id" v-if="index === 9">
            <h3>{{item.content}}</h3>
            <el-radio-group v-model="ruleForm.resource_9">
              <el-radio label="A">A.{{item.A}}</el-radio>
              <el-radio label="B">B.{{item.B}}</el-radio>
              <el-radio label="C">C.{{item.C}}</el-radio>
              <el-radio label="D">D.{{item.D}}</el-radio>
            </el-radio-group>
            <div v-show="showDesc">
              <p>答案：{{item.correct}}</p>
              <p>解析：{{item.describe}}</p>
            </div>
          </el-form-item>
        </template>
  </div>
</template>

<script>
export default {

}
</script>

<style>

</style>